package com.zc.designmodel.structural.flyweight;

/**
 * @author: zhuCan
 * @date: 2020/4/14 13:47
 * @description:
 */
public class Circle implements Shape {

  private Color color;
  private int x,y,radius;

  public Circle(Color color){
    this.color=color;
  }

  @Override
  public void draw() {
    System.out.println("draw circle , color"+color);
  }

  public enum Color{
    GREEN,
    YELLOW,
    RED,
    BLUE,
    GRAY;
  }
}
